<div v-show="showList" id="showList" style="display: none;">
	<form name="formList" action="" method="post"  class="form-inline" role="form">
		<div class="tableSearch">
		# for(entry in crud.searchMap){ #
			#
			var key = entry.value.key;
			var name = entry.value.key;
			var data = flyfox.dataList(entry.value.formTypeData);
			#
			<div class="form-group">
			#if (entry.value.formType=="INPUT") {#
				# if (entry.value.inputType=='TEXT') { #
					<input class="form-control" type="text" name="@{name}" value="${@{name}!''}"
						placeholder="请输入@{entry.value.name}" />
				# } else if (entry.value.inputType=='RADIO') { #
					<select name="@{name}" class="form-control" >
					<option value="-1">--请选择--</option>
					# layout("util/select.html",{obj:data,name:name}){ } #
					</select>
				# } else if (entry.value.inputType=='CHECKBOX') { #
					<select name="@{name}" class="form-control" >
					<option value="-1">--请选择--</option>
					# layout("util/select.html",{obj:data,name:name}){ } #
					</select>
				# } else { #
					<input class="form-control" type="@{entry.value.inputType}" name="@{name}" value="${@{name}}"
						placeholder="请输入@{entry.value.name}" />
				# } #
			# } else if (entry.value.formType=='TEXTAREA') { #
				<input class="form-control" type="text" name="@{name}" value="${@{name}!''}"
					placeholder="请输入@{entry.value.name}" />
			# }  else if (entry.value.formType=='DICT') { #
				<select name="@{name}" class="form-control" >
				<option value="-1">--请选择--</option>
				${flyfox.dictSelect('@{entry.value.formTypeData}' , @{name}!'')  }
				</select>
			# }  else if (entry.value.formType=='SELECT') { #
				<select name="@{name}" class="form-control" >
				<option value="-1">--请选择--</option>
				# layout("util/select.html",{obj:data,name:name}){ } #
				</select>
			# }#
			</div>
		# }#

			<button type="button" class="btn btn-primary" @click="reload" name="search">
					<span class="glyphicon glyphicon-search"></span> 查 询
			</button>
			<button type="button" class="btn btn-primary" onclick="resetForm();">
					<span class="glyphicon glyphicon-refresh"></span> 重 置
			</button>
			<button type="button" class="btn btn-primary" @click="add">
					<span class="glyphicon glyphicon-plus"></span> 新 增
			</button>
		</div>
	</form>

	<!-- 这里格式不能变 -->
	<div id="jqGridEdit" style="display: none;">
	 <a href="javascript:void(0);" class="btn btn-sm btn-success" onclick="vm.view([id]);">查看</a>
	 <a href="javascript:void(0);" class="btn btn-sm btn-primary" onclick="vm.update([id]);">修改</a>
	 <a href="javascript:void(0);" class="btn btn-sm btn-danger" onclick="vm.del([id]);">删除</a>
	</div>
	<table id="jqGrid"></table>
	<div id="jqGridPager"></div>
</div>
